
       <div class="crumbs">
                <h2>搜索结果：{$seo_title} <samp>找到<span style="color:#f00;">{$jgcount}</span>个“：{$seo_title}”相关结果</samp></h2>
        </div>


<div class="main">

 <?php if($list){?>   
    <div class="left">
        <div class="slideTxtBox">
            
            <div class="bd">
                <ul>
                    <volist name="list"  id="r" >
                    <?php $brand = M('Brand')->where('id='.$r['brandid'])->find(); ?>
                        <li>
                        <a href="{$r['url']}">
                            <div style="width:280px;height:328px;"><img width="280" height="328" src="{$r['picture']}" /></div>
                            <span class="date"><img src="{$brand['pic_mix']}" alt="" /></span>
                            <h4>{$r['brandid']}{$r['title']|str_cut=###,42}</h4>
                            <p class="samp"> <a href="javascript:onclick=keep({$r.id})" ><span>{$r.keep_num}</span></p></a>
                            <p><img src="../Public/images/red.png" alt="" /> &nbsp; <a href="index.php?m=Product&a=index&id=6&brandid={$brand['id']}">{$brand['name']|str_cut=###,12}</a> <span>{$r.com_num}</span></p>
                        </a>
                        </li>
                    </volist>

                    <div class="clear"></div>
                </ul>

            </div>
        </div>
        <!--script type="text/javascript">jQuery(".slideTxtBox").slide({trigger:"click"});</script-->

        <style>
.paging ul li{position: relative; right:25%}
.paging ul div{position: relative; right:25%}
</style>
        <ul class="paging" style=" height:30px; text-align:center">
            <ul style="position: relative; left:50%">
           {$pages}
           </ul>
        </ul>
    </div>
 <?php }else{?> 

<div class="left" style=" height:200px; font-size:24px; color:#999; text-align:center">


    <ul class="case" id="{}" style="margin-top:100px;">
     对不起，没有找到：{$seo_title}的相关结果
    </ul>
</div>


<?php }?>   
    
    
    <div class="right" style="width:282px;margin-left:28px;">
        <ul class="hot">
        <h6><img src="../Public/images/hot.png" alt="" /> &nbsp; 热门商品推荐</h6>

        <YP:list name="Product" where="hot!='0'"  catid="6" id="r" limit="4">
            <li>
                <a href="{$r['url']}">
                 <div style="width:280px;height:328px; background:url({$r['picture']}) center no-repeat; "></div>
                 <p>{$r['title']|str_cut=###,30}      <samp class="samp"></samp></p>
                </a>
            </li>
        </YP:list>
 
        </ul>
    </div>
    <div class="clear"></div>
</div>
<script type="text/javascript">
    //搜索排序后分页
    $(document).ready(function(){
        var url=window.location.href;
        url=delQueStr(url, 'p');
        url = url.substr(url.indexOf('?') + 1);
        var zurl='<?php echo $Categorys[$catid]["url"] ?>';
        var str = zurl.substr(zurl.indexOf('?') + 1);
        url=url.replace(str,"");
        //  alert(url);

        $(".paging a").each(function(){;
            var turl=$(this).attr("href");
            $(this).attr("href",turl+url);
        });
    });



</script>                                                                                                                                                                                                                                                                                                